edu.stanford.smi.protege.server.metaproject.impl
Class UserImpl
java.lang.Object
edu.stanford.smi.protege.server.metaproject.impl.WrappedProtegeInstanceImpl
edu.stanford.smi.protege.server.metaproject.impl.WrappedProtegeInstanceWithPropsImpl
edu.stanford.smi.protege.server.metaproject.impl.UserImpl
- All Implemented Interfaces:
- Localizable, User, Serializable
public class UserImpl
- extends WrappedProtegeInstanceWithPropsImpl
- implements User, Serializable
- See Also:
- Serialized Form
| Methods inherited from class edu.stanford.smi.protege.server.metaproject.impl.WrappedProtegeInstanceImpl |
addSlotValue, getCls, getMetaProject, getProtegeCollection, getProtegeInstance, getSlotValue, getSlotValues, localize, removeSlotValue, setSlotValue, setSlotValuesAsProtegeInstances |
UserImpl
protected UserImpl(MetaProjectImpl mp,
Instance ui)
getDescription
public String getDescription()
- Specified by:
getDescription in interface User
getGroups
public Set<Group> getGroups()
- Specified by:
getGroups in interface User
getLastAccess
public Date getLastAccess()
- Specified by:
getLastAccess in interface User
getLastLogin
public Date getLastLogin()
- Specified by:
getLastLogin in interface User
getName
public String getName()
- Specified by:
getName in interface User
setDescription
public void setDescription(String description)
- Specified by:
setDescription in interface User
setLastAccess
public void setLastAccess(Date time)
- Specified by:
setLastAccess in interface User
setLastLogin
public void setLastLogin(Date time)
- Specified by:
setLastLogin in interface User
setName
public void setName(String name)
- Specified by:
setName in interface User
setPassword
public void setPassword(String password)
- Specified by:
setPassword in interface User
verifyPassword
public boolean verifyPassword(String password)
- Specified by:
verifyPassword in interface User
getEmail
public String getEmail()
- Specified by:
getEmail in interface User
setEmail
public void setEmail(String email)
- Specified by:
setEmail in interface User
getSalt
public String getSalt()
- Specified by:
getSalt in interface User
getDigestedPassword
public String getDigestedPassword()
- Specified by:
getDigestedPassword in interface User
setDigestedPassword
public void setDigestedPassword(String hashedPassword,
String salt)
- Specified by:
setDigestedPassword in interface User
equals
public boolean equals(Object o)
- Overrides:
equals in class WrappedProtegeInstanceImpl
hashCode
public int hashCode()
- Overrides:
hashCode in class WrappedProtegeInstanceImpl
toString
public String toString()
- Overrides:
toString in class WrappedProtegeInstanceImpl
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2012 Stanford University.